package cn.tedu.smartos.health.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class HealthAlertVO {
    @ApiModelProperty(value = "预警ID")
    private Long alertId;

    @ApiModelProperty(value = "老人用户ID")
    private Long elderlyUserId;

    @ApiModelProperty(value = "老人姓名")
    private String elderlyName;

    @ApiModelProperty(value = "关联的健康记录ID")
    private Long recordId;

    @ApiModelProperty(value = "预警类型：1-心率异常，2-血压异常，3-血糖异常等")
    private Integer alertType;

    @ApiModelProperty(value = "预警类型名称")
    private String alertTypeName;

    @ApiModelProperty(value = "预警级别：1-低，2-中，3-高")
    private Integer alertLevel;

    @ApiModelProperty(value = "预警级别名称")
    private String alertLevelName;

    @ApiModelProperty(value = "预警内容")
    private String alertContent;

    @ApiModelProperty(value = "预警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date alertTime;

    @ApiModelProperty(value = "处理状态：0-未处理，1-已处理")
    private Integer handleStatus;

    @ApiModelProperty(value = "处理人ID")
    private Long handleUserId;

    @ApiModelProperty(value = "处理人姓名")
    private String handleUserName;

    @ApiModelProperty(value = "处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    @ApiModelProperty(value = "处理意见")
    private String handleComment;
}